/**
 * Created by ibm on 2015/8/29.
 */
if(dev) {
    console.info('加载', 'info/template.js');
}
var source='<div class="thesisItem">'+
                '<div class="thesisInfo">'+
                    '<p class="title">'+
                        '<a href="javascript:void(0);" onclick="jumptodetail(\'<%=paper.urls==null?null:paper.urls[0]%>\');"><%=paper.title%></a>'+
                    '</p>'+
                    '<p class="author">'+
                        '<%if(paper.authors!=null){%>'+
                            '<%for( j=0;j<paper.authors.length;j++){%>'+
                                '<span><a href="javascript:void(0);" onclick="authorsPapers(\'<%=paper.authors[j]%>\');"><%=paper.authors[j]%></a></span>' +
                                    '<%if(j!=(paper.authors.length-1)){%>'+
                                        '<em>·</em>'+
                                    '<%}%>'+
                            '<%}%>'+
                        '<%}%>'+
                    '</p>'+
                '</div>'+
                '<span class="time" id="time<%=paper.id%>"><script type="text/javascript">$.PIF_dateDiffFormat.getYearAndMonthAdd8Hour("<%=paper.publishedTime%>","time<%=paper.id%>")</script>'+'</span>' +
                '<div class="abstract thesisContent">'+
                    '<h1 class="title">Abstract</h1>'+
                    '<p class="abstract-content">'+
                    '<%=paper.summary%>'+
                    '<br/>'+
                    '<%=paper.content%>'+
                    '</p>'+
                '</div>'+
                '<div class="operate">'+
                    '<a <%if(isCollect){%>'+
                        'class="starnumed"'+
                        '<%}else{%>'+
                        'class="starnum"' +
                         '<%}%>'+
                        'href="javascript:void(0);" id="starnum<%=paper.id%>" onclick="addfavorite(<%=paper.id%>);"><%=favoriteCount%></a>'+
                    '<a class="commentnum" href="javascript:void(0);" id="commentnum<%=paper.id%>" onclick="showcomment(<%=paper.id%>);"><%=commentCount%></a>'+
                    '<a <%if(isDownload){%>'+
                        'class="downloadnumed"'+
                        '<%}else{%>'+
                        'class="downloadnum"' +
                        '<%}%>'+
                        'href="javascript:void(0);" id="downloadnum<%=paper.id%>" onclick="adddownload(<%=paper.id%>,\'<%=paper.downloadUrl%>\');"><%=downloadCount%></a>'+
                '</div>'+
            '</div>';
